<%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=utf-8" errorPage="/error.jsp" isELIgnored="false" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://www.opensymphony.com/oscache" prefix="cache" %>
<%@ taglib uri="http://atleap.blandware.com/taglib" prefix="atleap" %>
<html:xhtml />

<atleap:message key="core.statistics.visit.form.unknown" var="unknownUserAgent" />
<td class="defaultCursorCell" width="20" align="center">
    <c:choose>
        <c:when test="${object.browserDescription != null}">
            <img border="0" src="<atleap:rewriteUrl href="/images/theme/${appConfig['adminCssTheme']}/statistics/browser/${object.browserDescription.iconFile}" />" alt="${object.browserDescription.title}" />
        </c:when>
        <c:otherwise>
            <img border="0" src="<atleap:rewriteUrl href="/images/theme/${appConfig['adminCssTheme']}/statistics/browser/unknown.png" />" alt="${unknownUserAgent}" />
        </c:otherwise>
    </c:choose>
</td>
<td class="defaultCursorCell">
    <c:choose>
        <c:when test="${object.browserDescription != null}">
            <c:out value="${object.browserDescription.title}" escapeXml="true" />
        </c:when>
        <c:otherwise>
            ${unknownUserAgent}
        </c:otherwise>
    </c:choose>
</td>
